import React from "react";
import { withRouter } from 'react-router-dom';

class Test extends React.Component {

    constructor(props) {
        super(props);
        console.log("参数");
        console.log(props);
        console.log(js);
    }

    render() {
        return (<div>test</div>)
    }
}
export default withRouter(Test);